import machine
import time

# 设置引脚
led_pin = machine.Pin(6, machine.Pin.OUT)

# 循环控制LED亮灭
while True:
    # 点亮LED
    led_pin.value(1)
    time.sleep(0.2)

    # 关闭LED
    led_pin.value(0)
    time.sleep(0.2)